package com.slw.emergency.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.slw.emergency.entity.EmergencyDetail;
import com.slw.emergency.entity.EmergencyVillage;
import com.slw.emergency.mapper.EmergencyDetailMapper;
import com.slw.emergency.mapper.EmergencyVillageMapper;
import com.slw.emergency.model.RespVillCommutyModel;
import com.slw.emergency.model.RespVillDistctModel;
import com.slw.emergency.service.EmergencyDetailService;
import com.slw.emergency.service.EmergencyVillageService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmergencyVillageServiceImpl extends ServiceImpl<EmergencyVillageMapper, EmergencyVillage> implements EmergencyVillageService {
   public List<RespVillCommutyModel> getCommutyMap(){
        return this.baseMapper.getCommutyMap();
    }
    public List<RespVillDistctModel> getDistctMap(){
       return this.baseMapper.getDistctMap();
    };

}
